package com.ruoyi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.domain.Article;
import com.ruoyi.domain.Danger;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IDangerService extends IService<Danger> {
    List<Danger> selectAll();
    public Danger selectById(Integer id);

    public AjaxResult uploadFile(int id, MultipartFile file)throws Exception;

}
